<nz-card nzTitle="Card title" [nzExtra]="extra" style="width: 300px">
  <nz-card-tab>
    <nz-tabset [(nzSelectedIndex)]="selectedTab">
      <nz-tab nzTitle="tab1"> Content 1 </nz-tab>
      <nz-tab nzTitle="tab2"> Content 2 </nz-tab>
    </nz-tabset>
  </nz-card-tab>
  Common Content {{ selectedTab }}
</nz-card>
<ng-template #extra>
  <a>More</a>
</ng-template>

<nz-card style="width: 300px">
  <nz-card-tab>
    <nz-tabset [(nzSelectedIndex)]="selectedTab">
      <nz-tab nzTitle="tab1"> Content 1 </nz-tab>
      <nz-tab nzTitle="tab2"> Content 2 </nz-tab>
    </nz-tabset>
  </nz-card-tab>
  Common Content {{ selectedTab }}
</nz-card>
